package com.ronghui.cash.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 用户还款表
 * </p>
 *
 * @author wiki
 * @since 2017-12-06
 */
@TableName("return_money")
public class ReturnMoney extends Model<ReturnMoney> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 金额
     */
	private BigDecimal money;
    /**
     * 还款类型 还款方式 1手动还款，2自动还款，3线下还款，4 微信还款，5支付宝还款
     */
	@TableField("return_money_type")
	private Integer returnMoneyType;
    /**
     * 支付方式
     */
	@TableField("pay_type")
	private String payType;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private String createTime;
    /**
     * 用户ID
     */
	@TableField("user_id")
	private Long userId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public Integer getReturnMoneyType() {
		return returnMoneyType;
	}

	public void setReturnMoneyType(Integer returnMoneyType) {
		this.returnMoneyType = returnMoneyType;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
